package com.pactera.asmp.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.pactera.asmp.server.pojo.ProjectMasterComputerDbc;
import com.pactera.asmp.server.pojo.TProjectMasterComputerDbc;
import com.pactera.asmp.server.pojo.TProjectMasterComputerDbcExample;
import com.pactera.asmp.server.pojo.TProjectMasterComputerDbcKey;

@Mapper
public interface TProjectMasterComputerDbcMapper {
    long countByExample(TProjectMasterComputerDbcExample example);

    int deleteByExample(TProjectMasterComputerDbcExample example);

    int deleteByPrimaryKey(TProjectMasterComputerDbcKey key);

    int insert(TProjectMasterComputerDbc record);

    int insertSelective(TProjectMasterComputerDbc record);

    List<TProjectMasterComputerDbc> selectByExample(TProjectMasterComputerDbcExample example);

    TProjectMasterComputerDbc selectByPrimaryKey(TProjectMasterComputerDbcKey key);

    int updateByExampleSelective(@Param("record") TProjectMasterComputerDbc record, @Param("example") TProjectMasterComputerDbcExample example);

    int updateByExample(@Param("record") TProjectMasterComputerDbc record, @Param("example") TProjectMasterComputerDbcExample example);

    int updateByPrimaryKeySelective(TProjectMasterComputerDbc record);

    int updateByPrimaryKey(TProjectMasterComputerDbc record);

    List<ProjectMasterComputerDbc> getProjectMastercDbcsByMastercId(@Param("masterComputerId") Integer masterComputerId);

    int batchInsert(List<TProjectMasterComputerDbc> projectMastercDbcs);
}